<?php

abstract class SubController
{
	protected static $_c; //使用的Controller对象
	protected static $_p; // HTTP_RAW_POST_DATA

	public static function init($_c = NULL)
	{
		self::$_c = $_c;
		self::$_p = WeixinController::get_p();
	}
	
	protected static function _integer($str)
	{
		return ( ! ! preg_match('/^[\-+]?[0-9]+$/', $str));
	}
	
	// abstract protected static function start()
	// {
	// }
}